package cn.swust.score.dao;

import java.util.List;
import org.apache.ibatis.annotations.Mapper; 
import cn.swust.score.pojo.CurrCandidateInfo;
import cn.swust.score.pojo.QueryRater;
import cn.swust.score.pojo.Rater;

@Mapper
public interface RaterDao {
    int delById(Integer id);
   
    int save(Rater record);

    Rater getById(Integer id);
    
    Rater getByName(String name); 

    int editById(Rater record); 
    
    List<Rater> getByScoreId(Integer id);
    
    List<Rater> list(QueryRater param);
    
    
	CurrCandidateInfo getCurrCandidate(Integer id);
	  
	 
	int setCurrCandidate(CurrCandidateInfo info);
}